import request from '@/utils/request'
import fileRequest from '@/utils/fileRequest'

/**
 * 获取用户列表
 * @param params
 * @returns {*}
 */
export function getList(params) {
  return request({
    url: '/getCustomerList',
    method: 'GET',
    params
  })
}

/**
 * 查询人员扫码场所列表
 * @param params
 * @returns {*}
 */
export function getPlaceByCusList(params) {
  return request({
    url: '/getPlaceByCusList',
    method: 'GET',
    params
  })
}
/**
 * 导出列表筛选数据
 * @param params
 * @returns {*}
 */
export function exportDataApi(params) {
  return fileRequest({
    url: '/getPlaceByCusExcel',
    method: 'GET',
    params
  })
}
